package router

import (
	"fx_swift_boss/internal/controller"
	"fx_swift_boss/pkg/middleware"
)

func FeeRouter() {
	feeApiVer := miniApiVer.Group("fee", middleware.CheckAuth())
	{
		feeApiVer.POST("createMerchantFee", controller.CreateMerchantFee)
		feeApiVer.POST("queryMerchantFeeDetails", controller.QueryMerchantFeeDetails)
		feeApiVer.GET("doFeeApproval", controller.DoFeeApproval)
		feeApiVer.GET("getParentFeeDetails", controller.GetParentFeeDetails)
	}
}
